* {
    margin: 0;
    padding: 0;
    user-select: none;
    font-family: "楷体";
}

.warp {
    width: 512px;
    height: 768px;
    background: url(../img/bg_1.jpg);
    /* background: #000; */
    position: relative;
    margin: 20px auto;
    z-index: 0;
}

.level {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    color: #fff;
    text-align: center;
}

.level h1 {
    font-size: 50px;
    margin-top: 20%;
    margin-bottom: 30%;
}

.level p {
    width: 200px;
    height: 40px;
    font-weight: 800;
    line-height: 40px;
    background: #fff;
    color: #000;
    margin: 30px auto;
    border-radius: 5px;
}

.level p:hover {
    background: lightblue;
}

/*游戏界面*/

.map {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map .plane, .map .biu, .map .enemy {
    position: absolute;
}

.map .biu {
    z-index: 8;
}

.boom {
    position: absolute;
    animation: boom .8s linear;
    animation-fill-mode: forwards;
    /* 动画最后的位置 */
}

.boom2 {
    position: absolute;
    animation: boom2 2s linear;
    animation-fill-mode: forwards;
    /* 动画最后的位置 */
}

.score {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    font-weight: 800;
}

.settlement {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    color: #fff;
    font-size: 30px;
}

.settlement .final {
    margin: 50% 0 0;
}

.settlement .evaluate {
    margin: 50px 0;
}

.settlement .restart {
    font-size: 20px;
    outline: none;
    width: 100px;
    height: 40px;
}

@keyframes boom {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes boom2 {
    0% {
        opacity: 1;
    }
    20% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    60% {
        opacity: 0;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}